<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>SetWindowTitle</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">SetWindowTitle()</font></b></p>
<p><b>语法</b></p><blockquote>
<font color="#3A3966"><b>SetWindowTitle</b></font>(#Window, Title$)  </blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Changes the text which is currently displayed in the window title bar. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Window</i></td>
<td width="90%"> 
要使用的窗口. 

</td></tr>
<tr><td><i>Title$</i></td>
<td> 
 
The new title to set. 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>
无.


</blockquote><p><b>备注</b></p><blockquote>

<a href="getwindowtitle.html">GetWindowTitle()</a> can be used to get the current window title. 

 

</blockquote><p><b>示例</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">If</font></b> <font color="#3A3966">OpenWindow</font>(2, 100, 100, 200, 100, "My cool title")
<font color="#3A3966">    SetWindowTitle</font>(2, "Even cooler title !")
    
    <b><font color="#3A3966">Repeat</font></b>
    <b><font color="#3A3966">Until</font></b> <font color="#3A3966">WaitWindowEvent</font>() = <font color="#924B72">#PB_Event_CloseWindow</font>
  <b><font color="#3A3966">EndIf</font></b>
</font></pre>

</blockquote><p><b>参阅</b></p><blockquote>

<a href="getwindowtitle.html">GetWindowTitle()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=setwindowstate.html>SetWindowState()</a> - <a href="index.html">Window Index</a> - <a href="smartwindowrefresh.html">SmartWindowRefresh()</a> -&gt;<br><br>

</body></html>